package com.webinsky.publish.service;

import com.webinsky.publish.domain.Info;
import com.webinsky.publish.domain.InfoFilter;
import com.webinsky.publish.domain.Infos;

public interface InfoManagement {
	/**
	 * 生成资讯信息
	 * 
	 * @param info
	 */
	void submitInfo(Info info);
	/**
	 * 删除资讯
	 * 
	 * @param infoId
	 */
	void deleteInfo(int infoId);
	/**
	 * 
	 * @return
	 */
	Infos getByFilter(InfoFilter filter);
	/**
	 * 取得某个网站下的有效咨询数量
	 * 
	 * @param siteId
	 * @return
	 */
	int getCountBySiteId(int siteId);
}
